package com.pro.common.api.user.intf;

import com.pro.common.api.CommonConst;
import com.pro.common.api.auth.IUserService;
import com.pro.common.api.statics.user.amount.model.base.AmountEntityRecordBaseDTO;
import com.pro.common.api.statics.user.amount.model.base.AmountEntityUnitDTO;
import com.pro.common.api.user.model.db.User;
import com.pro.common.api.user.model.db.UserAmountRecord;
import io.swagger.v3.oas.annotations.Hidden;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

//@Tag(name = "用户信息")
@FeignClient(name = CommonConst.Modules.user, contextId = "UserAmountFeignClient")
@Hidden
public interface UserAmountFeignClient {

    @PostMapping("/userAmount/change")
    List<UserAmountRecord> change(@RequestBody AmountEntityUnitDTO<AmountEntityRecordBaseDTO> dto);
}
